#include <stdio.h>

main()
{
   for (;;) {
      int            x = getw(stdin);

      if (x == EOF && feof(stdin))
	 break;
      printf("%d\n", x);
   }
   return (0);
}
